// Copyright (C) joyinter
// All rights reserved.
// 
// Author : Jiang Li
// Date   : 2004-12-22

#include "stdafx.h"
#include "msvr_room_war3.h"

namespace JoyServer
{
;

// class CJoyMainRoom_War3

CJoyMainRoom_War3::CJoyMainRoom_War3()
{
}

CJoyMainRoom_War3::~CJoyMainRoom_War3()
{
}

bool CJoyMainRoom_War3::Create(CJoyMainServer* pServer,
    CJoyDbSession& onlineSess, CJoyDbCommand& record, UINT roomId, UINT gameId)
{
    if(!__super::Create(pServer, onlineSess, record, roomId, gameId))
    {
        return false;
    }

    return true;
}

const CString& CJoyMainRoom_War3::GetScoreDbName()
{
    static CString dbName("game_db_war3");
    return dbName;
}

int CJoyMainRoom_War3::GetScoreDbType()
{
    return DBServer_Game_War3;
}

} // namespace JoyServer